* {
  margin: 0;
  padding: 0;
  background-color: #f3f3f3;
}

.containor {
  width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.containor h2 {
  padding: 10px 0;
  font-size: 28px;
  color: #fff;
  text-shadow: 3px 2px 5px #000;
}

.containor video {
  width: 800px;
  height: 533px;
  /* 需要设置高度，否则，播放的视频如果高度不一致，那么播放页面就会被改变 */
  /* border-radius: 15px; */
  background-color: #333;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.containor .controls {
  display: flex;
  width: 800px;
  height: 40px;
  align-items: center;
  background-color: #565a59;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.containor .controls .toggle {
  position: relative;
  background-color: #565a59;
  width: 20px;
  height: 20px;
  margin-left: 10px;
}

.containor .controls .pause {
  /* display: none; */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid #565a59;
  border-bottom: 10px solid #565a59;
  border-left: 18px solid #ee564c;
  border-right: 0px solid #565a59;
  background-color: #565a59;
}

.containor .controls .play {
  display: none;
  width: 20px;
  height: 20px;
  text-align: center;
  background-color: #565a59;
}

.containor .controls .play span {
  margin: 0;
  padding: 0;
  display: inline-block;
  width: 5px;
  height: 20px;
  background-color: #ee564c;
}

.containor .controls .ended {
  width: 20px;
  height: 20px;
  background-color: #ee564c;
  border: none;
  margin: 0 10px;
}

.containor .controls input[type='range'] {
  flex: 1;
}

.containor .controls span {
  font-size: 16px;
  color: #ee564c;
  margin: 0 10px;
  background-color: #565a59;
}